package com.ntd.pushpush;

import com.baidu.android.pushservice.PushConstants;
import com.baidu.android.pushservice.PushManager;
import com.baidu.frontia.FrontiaApplication;

public class PushApplication extends FrontiaApplication {
	private static PushApplication instance = null;
	private static final String API_KEY="VdBcML5QebIi95hRqf09LTOy";
	public static PushApplication getInstance() {
		return instance;
		// AppConfigManager.getInstance().loadConfig();
	}

	@Override
	public void onCreate() {
		super.onCreate();
		instance = this;
		PushManager.startWork(getApplicationContext(), PushConstants.LOGIN_TYPE_API_KEY, API_KEY);
	}
}
